package com.ddtech.business.web.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ddtech.business.web.entity.Answer;
import com.ddtech.business.web.query.AnswerQuery;
import com.ddtech.business.web.res.AnswerPcVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 问答表 Mapper 接口
 * </p>
 *
 * @author bin_pu
 * @since 2023-02-06
 */
@Mapper
public interface AnswerMapper extends BaseMapper<Answer> {

   List<AnswerPcVo> getPageListPc(@Param("answerQuery") AnswerQuery answerQuery);

   List<AnswerPcVo> getPageNoAnswerListPc(@Param("answerQuery") AnswerQuery answerQuery);

}
